#ifndef ADDEXPENDDIALOG_H
#define ADDEXPENDDIALOG_H

#include <QDialog>
#include <QMainWindow>
#include <QButtonGroup>
#include "databasehelper.h"
#include "newexpensedialog.h"
namespace Ui {
class AddExpendDialog;
}

class AddExpendDialog : public QDialog
{
    Q_OBJECT

public:
    explicit AddExpendDialog(QMainWindow *parent = 0);
    ~AddExpendDialog();
    void loadExpenseItemsList();
    Databasehelper database;


    NewExpenseDialog *getMNewExpDlg() const;
    void setMNewExpDlg(NewExpenseDialog *value);

    QButtonGroup *getBtn_group() const;
    void setBtn_group(QButtonGroup *value);

private slots:
    void on_pushButtonAddExpenses_clicked();

private:
    Ui::AddExpendDialog *ui;
    NewExpenseDialog *mNewExpDlg;
    QButtonGroup *btn_group;
    void Initialize();
};

#endif // ADDEXPENDDIALOG_H
